<div id="templatemo_menu">
<ul>
<?php
if($this->session->userdata('logged_in_jtk'))
{
	if($menu=='1') { 
		echo "<li><a href='".base_url()."home' class='current'>Home</a></li>";
	}else{
		echo "<li><a href='".base_url()."home'>Home</a></li>";
	}
	
	?>	
	
	<?php if($menu=='2') { ?>
		<li><a href="<?php echo base_url();?>staff" class="current">Master Data</a></li>
		<?php } else { ?>
		<li><a href="<?php echo base_url();?>staff" >Master Data</a></li>
		<?php } ?>
	
	<?php if($menu=='3') { ?>
		<li><a href="<?php echo base_url();?>sms" class="current">SMS</a></li>
		<?php } else { ?>
		<li><a href="<?php echo base_url();?>sms" >SMS</a></li>
		<?php } ?>
	
	<?php if($menu=='4') { ?>
		<li><a href="<?php echo base_url();?>email" class="current">Email</a></li>
		<?php } else { ?>
		<li><a href="<?php echo base_url();?>email" >Email</a></li>
		<?php } ?>
	
	<?php if($menu=='5') { ?>
		<li><a href="<?php echo base_url();?>settings" class="current">Settings</a></li>
		<?php } else { ?>
		<li><a href="<?php echo base_url();?>settings" >Settings</a></li>
		<?php } ?>

	<?php if($menu=='6') { ?>
		<li><a href="<?php echo base_url();?>home/logout" onClick="return confirm('Anda yakin akan logout?')">Logout</a></li>
		<?php } else { ?>
		<li><a href="<?php echo base_url();?>home/logout" onClick="return confirm('Anda yakin akan logout?')">Logout</a></li>
		<?php }	
}else{
	
	if($menu=='1') { 
		echo "<li><a href='".base_url()."home' class='current'>Home</a></li>";
	}else{
		echo "<li><a href='".base_url()."home'>Home</a></li>";
	}	
	
}
?>

</ul>
<div class="cleaner"></div>
</div> 
<!-- end of templatemo_menu -->